package com.xy.transfer.feign;

import com.xy.transfer.fallback.BankICBCFallback;
import com.xy.transfer.service.BankICBCService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ICBC",fallback = BankICBCFallback.class)
public interface BankICBCFeign {
    @PostMapping("/icbc/transfer")
    public String send(@RequestParam("secretKey") String secretKey );
}
